/*
 *@Student 张策
 */
public class Text1 {
    public static void main(String[] args) {
        A z = new B();
        z.fun();
        String n=null;
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append(n);
    }
}
class A{
    public void fun(){
        System.out.println("父类");
    }
    public void eat1(){

    }
}
class B extends A{
//    @Override
//    public void fun() {
//        System.out.println("子类");
//    }
    public void eat2(){

    }
}
